﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartMap.Data.Database;

namespace Cmap.Data
{
	public static class LocationData
	{
		public static List<Location> GetAllLocations()
		{
			CDataDataContext context = new CDataDataContext();
			IQueryable<Location> dataLocations = context.Locations.Select(item => item);
			return dataLocations.ToList();
		}
	}
}
